package com.hps.spring.cloud.alibaba.client;

import com.hps.spring.cloud.alibaba.config.FeignOauth2RequestInterceptor;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author heps
 * @since 2020/11/5 15:24
 */
@FeignClient(name = "nacos-auth-provider", configuration = FeignOauth2RequestInterceptor.class)
public interface NacosAuthProviderClient {

  @GetMapping("/api/hello")
  String hello();
}
